package com.qhy.springcloud.domain;

import java.io.Serializable;
import java.math.BigDecimal;

/**
 * @author qiuhongyu
 * @date 2020/12/8 11:16
 */
public class Account implements Serializable {
    private static final long serialVersionUID = 7292743369957329336L;

    private Long id;

    /**
     * 用户id
     */
    private Long userId;

    /**
     * 总额度
     */
    private BigDecimal total;

    /**
     * 已用额度
     */
    private BigDecimal used;

    /**
     * 剩余可用额度
     */
    private BigDecimal residue;

}
